import request from '@/utils/request'
export const uploadUserPic = (data:any) =>
    request({
        url: "/files/uploadUserPic",
        method: 'post',
        data
})

export const downloadUserPic = (data:any) =>
    request({
        url: "/files/downloadUserPic",
        method: 'post',
        responseType:'blob',
        data
})
